<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ page import="edu.lhh.model.teachtype"%>
      <%@ page import="edu.lhh.dao.teachtypedao"%>
      <%HttpSession s=request.getSession(); %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <link href="css/bootstrap.css" rel="stylesheet" media="screen">

<title>Insert title here</title>
</head>
<body>

<%Object obj = s.getAttribute("tname");
	teachtype tp = new teachtype();
	if (obj != null){
		 tp = (teachtype)obj;
		
	}


%>


<form action="./userServlet" method="post">
	<div class = "container">
		<div class="row">
					<input type ="hidden" name="uname" value=<%=tp.getUser() %>>
					<input type = "hidden" name ="" value=>
			<div class = "col-xs-4"></div>
			<div class = "col-xs-4">
				<h2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;您的账号信息</h2>
				
				<span class="label label-primary">姓名</span><input type="text"  name="uname" class="form-control"   placeholder=<%=tp.getMing() %> disabled><br>
			
				<span class="label label-success">工号</span><input type="text"  name="unum"class="form-control"  placeholder="<%=tp.getNum() %>" disabled><br>
				 
				<span class="label label-info">账号</span><input type="text"  name = "uid"class="form-control"  placeholder=<%=tp.getUser() %> disabled><br>

				<span class="label label-danger">密码</span><input type="text"  name="upwd" id = "pwd" class="form-control" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" placeholder="若要修改密码请输入" ><br>

				<input type="submit" value="保存" class="btn btn-danger btn-lg btn-block" ><br>
			</div>
			<div class = "col-xs-4"></div>
		</div>
	</div>





</form>	
</body>
</html>